package com.ddtech.business.check.vo.res;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ddtech.business.check.entity.CheckUserRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author bin
 */
@Data
@ApiModel
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ResRank {

    @ApiModelProperty("排名")
    private Integer manRank;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户姓名")
    private String userName;

    @ApiModelProperty("总人数")
    private Integer allCount;

    @ApiModelProperty("当前用户成绩")
    private Double examScore;

    @ApiModelProperty("用时（秒）")
    private Long useTime;

    @ApiModelProperty("用户排名情况")
    private IPage<CheckUserRecord> pagination;

    @ApiModelProperty("用户考试答题情况")
    private CheckUserRecord checkUserRecord;

}
